<template>
    <el-main>
      <iframe :src='src' id='show' width='100%' height="780px" frameborder=0 name='showHere' ></iframe>
    </el-main>
</template>

<style lang="sass" scoped>

</style>

<script>
import Vue from 'vue';
import * as reportApi from '@/api/report/index';

export default {
    data() {
        return {
            src: ''
        }
    },
    methods: {
        getModels(){
            reportApi.getModels({})
                .then(res => {
                if(res.code === 200) { this.src = res.data}
            });
        }
    },
    created() {
        this.getModels()
    }
}
</script>

